#ifndef _MOTIONCONTROL_H_
#define _MOTIONCONTROL_H_

#ifdef __cplusplus
extern "C"{
#endif

#ifdef MOTIONCONTROL_API_EXPORTS
#define MOTIONCONTROL_API	__declspec(dllexport)
#else
#define MOTIONCONTROL_API	__declspec(dllexport)
#endif


#define MOTION_LOOKAHEADNODENUM			200

#define MOTION_DATA						0x34
#define MOTION_INS						0x45

#define MOTION_OK						0
#define MOTION_WAITPUSH					1
#define MOTION_CMDTYPE_WRONG			2


typedef struct
{
	float vs;
	float ve;
	float vm;
	float s;
	float acc;
}MOTION_LINEARDATAINFO;

typedef struct
{
	int cmd;
	int valud;
}MOTION_INSINFO;



MOTIONCONTROL_API int Motion_Push(void *Pnode,char type);



















#ifdef __cplusplus
}
#endif

#endif